package com.cy.server.controller.test;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @peoject: yeb
 * @description: 测试
 * @author: LiShaoZhuo
 * @create: 2021-04-26 17:59
 **/
@Api(tags = "helloController")
@RestController
public class HelloController {

    @ApiOperation("测试1")
    @GetMapping("/hello")
    public String hello(){
        return "hello";
    }

    @ApiOperation("测试2")
    @GetMapping("/employee/basic/hello")
    public String hello2(){
        return "/employee/basic/hello";
    }

    @ApiOperation("测试3")
    @GetMapping("/employee/advanced/hello")
    public String hello3(){
        return "/employee/advanced/hello";
    }
}
